package cn.wolfcode.luowowo.comment.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

/**
 * 风景评论查询对象
 */
@Getter
@Setter
public class SceneryCommentQuery extends QueryObject {

    //风景id
    private Long sceneryId = -1L;

    /*public Pageable getPageable(){
        return PageRequest.of(super.getCurrentPage()-1, super.getPageSize());
    }*/
}
